package com.maiji.cloud.request.shopingmall;

import com.maiji.cloud.request.login.UploadImageReqData;
import com.maiji.cloud.response.login.UploadImageResData;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.util.List;

@NoArgsConstructor
@Data
@Accessors(chain=true)
public class GoodsReqData {

    @ApiModelProperty(value="商品ID")
    private String uuId;

    @ApiModelProperty(value="商品名称")
    private String name;

    @ApiModelProperty(value="商品简称")
    private String shortName;

    @ApiModelProperty(value="商品净含量")
    private Integer netWeight;

    @ApiModelProperty(value="商品物流重量")
    private Integer weight;

    @ApiModelProperty(value="商品原价格")
    private Double originalPrice;

    @ApiModelProperty(value="商品现价格")
    private Double presentPrice;

    @ApiModelProperty(value="库存数量")
    private Integer stockVolume;

    @ApiModelProperty(value="是否可积分兑换：1是，0否")
    private Integer isExchange;

    @ApiModelProperty(value="积分兑换值")
    private Integer integral;

    @ApiModelProperty(value="1-上架，2-下架")
    private Integer upDown;

    @ApiModelProperty(value="商品详情")
    private String detailText;

    @ApiModelProperty(value="操作者ID")
    private String userId;

    @ApiModelProperty(value="标签名称")
    private String labelName;

    @ApiModelProperty(value="添加/移除标签")
    private Boolean labelAdd;

    @ApiModelProperty(value="商品标签ID[]")
    private List<String> labelIds;

    @ApiModelProperty(value="商品主图")
    private UploadImageResData mainImage;

    @ApiModelProperty(value="商品详情图[]")
    private List<UploadImageReqData> detailImages;

    @ApiModelProperty(value="商品参数[]")
    private List<ParamConfigReqData> params;

    @ApiModelProperty(value="排序权重")
    private Integer sortWeight;

}
